-- CALC_AVALON_CANNON_DURABILITY

-- 计算阿瓦隆巨炮的当前耐久度
return function(avalonCannon)
    local durability = avalonCannon.dbase:query("durability", 0);

    -- 耐久度加
    local prop = PropM.combine(avalonCannon, "attrib2", "durability");
    durability = PropM.apply(prop, durability);

    return durability;
end
